package com.kxmall.storage.domain.bo;

import com.kxmall.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;


/**
 * 产品入库业务对象
 */

@Data
@ApiModel("产品入库业务对象")
public class KxStorageInProductBo {

    @ApiModelProperty(value = "产品入库ID")
    @NotNull(message = "产品入库ID不能为空", groups = { EditGroup.class })
    private Long id;

    @ApiModelProperty(value = "仓库ID")
    private Long storageId;

    @ApiModelProperty(value = "商品ID")
    private String productId;

    @ApiModelProperty(value = "商品名称")
    private String productName;

    @ApiModelProperty(value = "商品规格ID")
    private Long productAttrId;

    @ApiModelProperty(value = "商品规格")
    private String productAttrName;

    @ApiModelProperty(value = "分类ID")
    private Long categoryId;

    @ApiModelProperty(value = "商品类目")
    private String categoryName;

    @ApiModelProperty(value = "入库单号")
    private String inStockOrder;

    @ApiModelProperty(value = "入库数量")
    private Long inStockCount;

    @ApiModelProperty(value = "库存可用量")
    private Long stock;

    //@ApiModelProperty(value = "商品条码")
    //private String barCode;
}
